﻿using System;

namespace SimpleFactory
{
    class Program
    {
        static void Main(string[] args)
        {
           
            var pizzaStore = new PizzaStore(new SimplePizzaFactory());

            var cheesePizza = pizzaStore.OrderPizza("Cheese");
            Console.WriteLine();
            var clamPizza = pizzaStore.OrderPizza("Pepperoni");
            Console.ReadKey();
            var spirraliPiain = pizzaStore.OrderPizza("螺蛳粉披萨");
            Console.ReadKey();

            
        }
    }
}
